package datastructures;

public class SNPInfo
{
	private int chromosome;
	private String rsid;
	private double cm_distance;
	private int bp_distance;
	private double blockNo; 
	
	
	public SNPInfo( int chr, String snpid, double cmdistance, int bpdistance ) 
	{
		this.chromosome = chr;
		this.rsid = snpid;
		this.cm_distance = cmdistance;
		this.bp_distance = bpdistance;
		this.blockNo = -1;
	}
	
	public int getChromosome() {
		return chromosome;
	}

	public String getRsid() {
		return rsid;
	}

	public double getCm_distance() {
		return cm_distance;
	}
	
	public void setCm_distance(double cmdistance) {
		cm_distance = cmdistance;
	}

	public int getBp_distance() {
		return bp_distance;
	}
	
	public double getBlockNo() {
		return blockNo;
	}	
	
	public void setBlockNo(double block) {
		blockNo = block;
	}
	
	public String toString( ) {
		return this.chromosome + "," + this.rsid + "," + this.cm_distance + "," + this.bp_distance; 
	}
	
	public String toStringMapFormat( ) {
		return this.chromosome + "\t" + this.rsid + "\t" + this.cm_distance + "\t" + this.bp_distance; 
	}
	
	
	private int caseDomCarriers;
	private int caseRecCarriers;
	private int controlDomCarriers;
	private int controlRecCarriers;
	
	public int getCaseDomCarriers() {
		return caseDomCarriers;
	}

	public void setCaseDomCarriers(int caseDomCarriers) {
		this.caseDomCarriers = caseDomCarriers;
	}

	public int getCaseRecCarriers() {
		return caseRecCarriers;
	}

	public void setCaseRecCarriers(int caseRecCarriers) {
		this.caseRecCarriers = caseRecCarriers;
	}

	public int getControlDomCarriers() {
		return controlDomCarriers;
	}

	public void setControlDomCarriers(int controlDomCarriers) {
		this.controlDomCarriers = controlDomCarriers;
	}

	public int getControlRecCarriers() {
		return controlRecCarriers;
	}

	public void setControlRecCarriers(int controlRecCarriers) {
		this.controlRecCarriers = controlRecCarriers;
	}

	private int whichMaskForDom;
	private int whichMaskForRec;
	
	public int getWhichMaskForDom() {
		return whichMaskForDom;
	}

	public void setWhichMaskForDom(int whichMaskForDom) {
		this.whichMaskForDom = whichMaskForDom;
	}

	public int getWhichMaskForRec() {
		return whichMaskForRec;
	}

	public void setWhichMaskForRec(int whichMaskForRec) {
		this.whichMaskForRec = whichMaskForRec;
	}

	
	
	
	
}
